Skip to content

feat(webui): trace SSR runtime dependencies - #968

Open
Col0ring wants to merge 4 commits into
modelscope:mainfrom
Col0ring:feat/runtime-trace
Open

feat(webui): trace SSR runtime dependencies#968
Col0ring wants to merge 4 commits into
modelscope:mainfrom
Col0ring:feat/runtime-trace

Conversation

@Col0ring

@Col0ring Col0ring commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Change Summary

  • Trace and package the WebUI SSR runtime dependency closure for image builds.
  • Add traced-cache handling and a configurable frontend runtime directory.
  • Keep keyboard-selected command suggestions visible.

Related issue number

N/A

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Relevant Python tests and frontend type checking pass
  • Documentation reflects the changes where applicable

- add `scripts/traceRuntime.ts` and a `build:image` script that assemble
  `build-runtime/` via @vercel/nft
- add `@vercel/nft`; drop `@react-router/serve`
- gate tracing behind `MS_AGENT_WEBUI_TRACE_RUNTIME` in
  `ms-agent ui --prepare-only` and stamp the cache as `traced`
- add a `--frontend-dir` launcher option that rejects a mismatched traced tree
- enable tracing in the Docker build and ignore local `build-runtime/`
Scroll the highlighted suggestion into view on keyboard navigation,
reset the selection when the filtered list changes, and guard Enter
against an empty list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant